package org.scboy.dbms.dao;

import java.util.List;

import org.scboy.coobi.sql.SqlEntity;
import org.scboy.utils.annotations.coobi.Execute;
import org.scboy.utils.annotations.coobi.Table;
import org.scboy.utils.entitys.coobi.Model;
import org.scboy.utils.entitys.coobi.Page;
import org.scboy.utils.enums.coobi.ExecuteType;

/**
 * 
 * 字典与字典类型关系表业务类。
 * @author 杨浩
 *
 */
@Table("BASE_DICTIONARY_TYPE_JOIN")
public interface BaseDictionaryTypeJoinDao extends SqlEntity {
	
	/**
	 * 查询字典和字典类型关联
	 * @param params
	 * @param limit
	 * @return
	 */
	@Execute(id="BASE_DICTIONARY_TYPE_JOIN_DICTIONARY_PAGE",type=ExecuteType.PAGE)
	public Page queryPage(Model params);
	
	@Execute(id="BASE_DICTIONARY_TYPE_JOIN_DICTIONARY_PAGE",type=ExecuteType.SELECT)
	public List<Model> queryList(Model params);
}
